package com.faneui.transfer.dal.model;

import java.util.Date;

/**
 *  T_GATEWAY_ORDER
 */
public class GatewayOrder extends IdEntity {

	/**
	* 1-支出，2-收入.
	*/
	private Integer type;
	/**
	* MONEY.
	*/
	private Double money;
	/**
	* 0-未使用，1-已使用.
	*/
	private Integer status;
	/**
	* ACCOUNT_ID.
	*/
	private Long accountId;
	/**
	* OCCUR_DATE.
	*/
	private Date occurDate;
	/**
	* 渠道订单ID.
	*/
	private String gatewayOrderId;
	/**
	* 备付金账户.
	*/
	private String advanceAccountNo;
    
    /**
     * 1-支出，2-收入.
     */
    public void setType(Integer type){
        this.type = type;
    }

    /**
     * Get type 1-支出，2-收入.
     *
     * @return the string
     */
    public Integer getType(){
        return type;
    }
    /**
     * MONEY.
     */
    public void setMoney(Double money){
        this.money = money;
    }

    /**
     * Get money MONEY.
     *
     * @return the string
     */
    public Double getMoney(){
        return money;
    }
    /**
     * 0-未使用，1-已使用.
     */
    public void setStatus(Integer status){
        this.status = status;
    }

    /**
     * Get status 0-未使用，1-已使用.
     *
     * @return the string
     */
    public Integer getStatus(){
        return status;
    }
    /**
     * ACCOUNT_ID.
     */
    public void setAccountId(Long accountId){
        this.accountId = accountId;
    }

    /**
     * Get accountId ACCOUNT_ID.
     *
     * @return the string
     */
    public Long getAccountId(){
        return accountId;
    }
    /**
     * OCCUR_DATE.
     */
    public void setOccurDate(Date occurDate){
        this.occurDate = occurDate;
    }

    /**
     * Get occurDate OCCUR_DATE.
     *
     * @return the string
     */
    public Date getOccurDate(){
        return occurDate;
    }
    /**
     * 渠道订单ID.
     */
    public void setGatewayOrderId(String gatewayOrderId){
        this.gatewayOrderId = gatewayOrderId == null ? null:gatewayOrderId.trim();
    }

    /**
     * Get gatewayOrderId 渠道订单ID.
     *
     * @return the string
     */
    public String getGatewayOrderId(){
        return gatewayOrderId;
    }
    /**
     * 备付金账户.
     */
    public void setAdvanceAccountNo(String advanceAccountNo){
        this.advanceAccountNo = advanceAccountNo == null ? null:advanceAccountNo.trim();
    }

    /**
     * Get advanceAccountNo 备付金账户.
     *
     * @return the string
     */
    public String getAdvanceAccountNo(){
        return advanceAccountNo;
    }
    
    @Override
	public String toString() {
		return "GatewayOrder ["
				+ " type =" + type + ", "
				+ " money =" + money + ", "
				+ " status =" + status + ", "
				+ " accountId =" + accountId + ", "
				+ " occurDate =" + occurDate + ", "
				+ " gatewayOrderId =" + gatewayOrderId + ", "
				+ " advanceAccountNo =" + advanceAccountNo + ", "
				+" id=" + id + ","
				+" createdDate=" + createdDate + ","
				+" createdBy=" + createdBy + "," 
				+" updatedDate=" + updatedDate + "," 
				+" updatedBy=" + updatedBy + "," 
				+" deleteFlag=" + deleteFlag + "]";
	}
}
